/**
 * @author francis
 * @time 2022-04-22
 * @description 首页接口定义
 */

import Ajax from './Ajax'

/**
 * 轮播接口
 */
export function bannerApi(){
    return Ajax({
        url:'/home/banner',
        method:'GET'
    })
}

/**
 * 
 * @param {{type:string,size:num,page:num}} params 
 * @returns 
 */
export function likeApi(params){
    return Ajax({
        method:'GET',
        url:'/food/type',
        params
    })
}